package com.ktg.mes.unit.sync.sql.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktg.mes.unit.sync.SQLModel;
import com.ktg.mes.unit.sync.SyncModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: AOI上报数据
 * @Author: MxpIO
 * @Date:   2022-06-09
 * @Version: V1.0
 */
public interface SyncMapper extends BaseMapper<SyncModel> {

    public List<Map> selectSqlMap(@Param("selectSglString") String selectSglString);

    public void updateSql(@Param("updateSglString") String updateSglString);

    public void insertSql(@Param("insertSglString") String insertSglString);

    public void insertModel(SQLModel sqlModel);

    public void updateModel(SQLModel sqlModel);

    public List<Map> selectSqlModel(SQLModel sqlModel);


}


